<template>
  <a-tabs v-model:activeKey="activeKey" type="card">
    <a-tab-pane key="1" tab="监测数据">
      <this-tab1 />
    </a-tab-pane>
    <a-tab-pane key="2" tab="传感器拓朴图">
      <this-tab2 />
    </a-tab-pane>
    <a-tab-pane key="3" tab="附件">Content of Tab Pane 3</a-tab-pane>
  </a-tabs>
</template>

  <script lang="ts">
import { defineComponent, ref } from 'vue';
import thisTab1 from './tab1.vue';
import thisTab2 from './tab2.vue';

export default defineComponent({
  components: { thisTab1, thisTab2 },
  setup() {
    return {
      activeKey: ref('1'),
    };
  },
});
</script>
  
  